package com.yuandian.api.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 告警指标单位表-实体
 * @author zfsn
 * @date 2023-7-6
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "告警指标单位表", description = "")
@TableName("conf_alarm_indicator_unit")
public class ConfAlarmIndicatorUnit extends Model<ConfAlarmIndicatorUnit> {

	/**
	 * id
	 */
	@ApiModelProperty(value = "id", notes = "id")
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 单位
	 */
	@ApiModelProperty(value = "单位", notes = "单位")
	private String name;

	/**
	 * 单位类型: 1为数字，2为字符
	 */
	@ApiModelProperty(value = "单位类型", notes = "单位类型: 1为数字，2为字符")
	private Integer type;

	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人", notes = "创建人")
	private String createBy;

	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间", notes = "创建时间")
	private LocalDateTime createTime;

	/**
	 * 更新人
	 */
	@ApiModelProperty(value = "更新人", notes = "更新人")
	private String updateBy;

	/**
	 * 更新时间
	 */
	@ApiModelProperty(value = "更新时间", notes = "更新时间")
	private LocalDateTime updateTime;

	/**
	 * 0 正常 1 删除
	 */
	@ApiModelProperty(value = "状态", notes = "0 正常 1 删除")
	private Integer status;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注", notes = "备注")
	private String remarks;

}